package com.ljfresh.customer.dto.udesk;

import com.ljfresh.customer.dto.UDeskResult;
import com.ljfresh.customer.page.PageResult;
import com.ljfresh.customer.pojo.Customer;
import com.ljfresh.customer.pojo.Feed;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 * @Author zzx
 */
@Data
@AllArgsConstructor
@ApiModel(description= "客户工单历史返回对象")
public class CustomerRecordResult extends UDeskResult {

    @ApiModelProperty(("冗余属性"))
    private List<Feed> feeds;

    @ApiModelProperty(("工单历史分页数据"))
    private PageResult<Feed> feedsPage;

    //重写构造
    public CustomerRecordResult(){
        super();
    }

    public CustomerRecordResult(Integer code){
        super(code);
    }

    public CustomerRecordResult(Integer code,String message){
        super(code,message);
    }

    public CustomerRecordResult(List<Feed> feeds, Integer code, String message) {
        super(code,message);
        this.feeds = feeds;
    }
}
